/**
 * a generic class represents a Pair  
 * @param <T1> 
 * @param <T2>
 */
public class Pair<T1, T2> 
{
	public T1 first;
	public T2 second;
	public Pair(T1 L, T2 R)
	{
		this.first = L;
		this.second = R;
	}
	
	@Override
	public String toString()
	{
		return "<" + first.toString() + " . " + second.toString() + ">";
	}
	
}
